home *** CD-ROM | disk | FTP | other *** search
- DATECHECK
- ---------
-
- Version 1.01 - December 1992
-
- Copyright © Michael Tanzer, 1992
-
- +---------------------------------------------------------------------------+
- | N O T I C E |
- | |
- | Freely distributable. Not to be used for commercial purposes without |
- | written consent from the author. Not to be distributed without this |
- | notice and accompanying components intact. |
- | |
- | This product is distributed on an 'as-is' basis, with no warranty of any |
- | kind, either express or implied. No responsibility whatsoever is assumed |
- | by the author for the use of this product, nor for any results of its |
- | use. No claim whatsoever is made as to this product's accuracy, useful- |
- | ness, completeness, nor suitability to any purpose. |
- | |
- | Components include the following files: |
- | DateCheck.Doc (this document) |
- | DateCheck |
- | |
- +---------------------------------------------------------------------------+
-
-
- What is DateCheck?
- ------------------
-
- DateCheck is a Rexx program that can be used to validate the system date
- whenever you boot your machine.
-
-
- Why use DateCheck?
- ------------------
-
- If you use a battery backed-up clock, you probably know that it can be
- accidently set to an incorrect date. If you don't use one, you may have
- entered the date incorrectly yourself. In either case, if you run for a
- while with the wrong date, all sorts of odd things may happen. If you use
- a program like Burf (which backs up modified files, using file dates to
- determine which files have been modified), your backups may be incomplete;
- if you use a program like Notify (which issues messages at certain times or
- on certain days), you get your messages at the wrong time or not at all.
-
- DateCheck addresses this problem by storing the system date in a file
- (usually S:DateCheck.date). Each time you run DateCheck, it compares the
- current system date with the stored date; if the system date is earlier
- or too much later, you are told about it.
-
- Best of all, DateCheck is written in Rexx, so if you want to add or change
- a feature, you can do it easily. And it's free.
-
-
- What you need in order to use DateCheck:
- ----------------------------------------
-
- You must have the following libraries in your LIBS: directory:
- rexxsyslib.library (version 36.17 or later)
- rexxsupport.library (version 34.9 or later)
- rexxarplib.library (version 2.52 or later)
- arp.library (version 39.1 or later)
- screenshare.library (version 1.46 or later)
- These are available from a variety of sources and are not distributed with
- DateCheck.
-
-
- How to use DateCheck:
- ---------------------
-
- Copy DateCheck into the directory to which rexx: has been assigned. To run
- DateCheck whenever your machine is booted, place the line:
- rx DateCheck
- in your User-Startup or Startup-Sequence.
-
- Edit DateCheck and check the setting of the variables 'datefile' and
- 'maxdays'. Set 'datefile' to indicate the file in which the system date
- will be stored. Set 'maxdays' to indicate the maximum number of days that
- may pass between executions of DateCheck. If you use your machine every
- day, you will want to set 'maxdays' to 1.
-
- To run DateCheck for the first time, make sure the system date is correct,
- then enter:
- RX DATECHECK RESET
- This will cause the the system date to be stored without being compared to
- a stored date.
-
- Once a system date has been stored, each time DateCheck is run it will
- compare the current system date to the stored date:
- If the system date is the same as the stored date, no further action is
- taken.
- If the system date is within the number of days specified as 'maxdays'
- after the stored date, it will be stored for use with the next running
- of DateCheck.
- If the system date is earlier than the stored date or more than
- 'maxdays' after the stored date, a requester will appear telling you
- what the system date is:
- If the system date is correct, select the 'No Problem!' button and
- the date will be stored. (This will happen if 'maxdays' is set
- to 1 but you haven't used your machine for two days or more.)
- If the system date is incorrect, select the other button or close
- the requester so the incorrect date will not be stored. Then use
- the DATE and/or SETCLOCK commands to set the system date correctly
- and optionally enter 'RX DATECHECK RESET' to store it.
-
-
- Version log:
- ------------
-
- 1.00 JUL 1992 Original release.
- 1.01 DEC 1992 Minor documentation changes.
-
-
- Other things you might like to know about DateCheck:
- ----------------------------------------------------
-
- You are free use DateCheck for as long as you like and to modify it in any
- way that suits your needs, but please do not distribute a modified version.
- I do not ask for any remuneration, but if you would like to send me
- something (a holiday in Tahiti would be nice), I would be delighted to
- receive it. I will make a sincere effort to answer any questions you may
- have about DateCheck. My address is:
-
- Michael Tanzer
- P.O. Box 289
- Carlton North, VIC 3054
- Australia
-
- Telephone: +61 3 387 6589
- Facsimile: +61 3 388 1863
-